package com.darcytech.debezium.core.pool;

public class MetaData {

    private final ConnectionWrap connectionWrap;

    private final ConnectorInfo connectorInfo;

    public MetaData(ConnectionWrap connectionWrap, ConnectorInfo connectorInfo) {
        this.connectionWrap = connectionWrap;
        this.connectorInfo = connectorInfo;
    }

    public ConnectionWrap getConnectionWrap() {
        return connectionWrap;
    }

    public ConnectorInfo getConnectorInfo() {
        return connectorInfo;
    }

    public String getGroup() {
        return this.connectorInfo.getGroup();
    }

    public String getConnectorName() {
        return this.connectorInfo.getConnectorName();
    }
}
